<!--{subtemplate jameson_read:gjj/read_header}-->
<!--[diy=diy1]--><div id="diy1" class="area"></div><!--[/diy]-->
<div class="uk-grid-collapse" uk-grid>
	<div class="uk-width-medium">
		<div class="uk-padding-small border-cc">
			<div class="uk-card">
			    <div class="uk-card-header">
			        <div class="uk-text-center">
			            <div class="uk-text-center">
			                <img class="uk-border-circle" width="80" height="80" src="{eval echo avatar($books[0]['uid'],'big',true);}">
			            </div>
			            <div class="">
			                <h3 class="uk-card-title uk-margin-remove-bottom">{$authorname}</h3>
			                <p class="uk-text-meta uk-margin-remove-top">{lang jameson_read:fabudetushu}{$bookcounts}{lang jameson_read:bu}</p>
			            </div>
			        </div>
			    </div>
			    {if $authorinfo}
			    <div class="uk-card-body"><p>{$authorinfo}</p></div>
			    {/if}
			</div>
		</div>
			{if $adv[0]['adv']}
			<div class="cl" style="width: auto;margin:auto;overflow: hidden;">
				{eval echo stripcslashes($adv[0]['adv']);}
			</div>
			{/if}
			<div class="border-cc uk-margin-top">
				<div class="back-top">{lang jameson_read:yuedubang}</div>
				<ul class="uk-margin-remove pl10 pr10 uk-list-paihang">
					{loop $paihangbang['yuedu'] $k $book}
						{if $k < 12}
						<li class="uk-text-truncate">
							<span class="num num_{$k}">{eval echo $k+1;}</span>
							<a href="{eval echo jamesonurl('book',$book['book_id']);}">{$book['book_name']}</a>
						</li>
						{/if}
					{/loop}
				</ul>
			</div>
			{if $adv[1]['adv']}
			<div class="cl" style="width: auto;margin:auto;overflow: hidden;">
				{eval echo stripcslashes($adv[1]['adv']);}
			</div>
			{/if}
			<div class="border-cc uk-margin-top">
				<div class="back-top">{lang jameson_read:shoucangbang}</div>
				<ul class="uk-margin-remove pl10 pr10 uk-list-paihang">
					{loop $paihangbang['shoucang'] $k $book}
						{if $k < 12}
						<li class="uk-text-truncate">
							<span class="num num_{$k}">{eval echo $k+1;}</span>
							<a href="{eval echo jamesonurl('book',$book['book_id']);}">{$book['book_name']}</a>
						</li>
						{/if}
					{/loop}
				</ul>
			</div>
			{if $adv[2]['adv']}
			<div class="cl" style="width: auto;margin:auto;overflow: hidden;">
				{eval echo stripcslashes($adv[2]['adv']);}
			</div>
			{/if}
	</div>
	<div class="uk-width-expand">
		<div class="uk-padding-remove border-cc uk-margin-left">
			{if $books}
			<div class="back-top">
				[{$authorname}] {lang jameson_read:fabudetushu}{$bookcounts}{lang jameson_read:bu}
			</div>
			<table class="uk-table uk-table-justify uk-table-small updatetable">
				<tbody>
				{loop $books $key $c}
					<tr>
			            <td class="tdcate">
			            	<a class="xg1 xs1" href="{eval echo jamesonurl('category',$book['category_id']);}">[{$c['category_name']}]</a>
			            </td>
			            <td class="uk-text-truncate">
			            	<a class="color-360" href="{eval echo jamesonurl('book',$c['book_id']);}">{$c['book_name']}</a>
			            </td>
			            <td class="uk-text-right xg1 xs1 tdauthor"><a href="./plugin.php?id=jameson_read&contrl=index&act=zuozhe&zuozhe_name={$c['author']}">{$c['author']}</a> <span class="pipe"> &nbsp;</span> {eval echo dgmdate($c['addtime']);}</td>
			        </tr>
				{/loop}
				</tbody>
			</table>
			<div class="uk-margin-top cl">{$pageshow}</div>
			{else}
				<div class="uk-alert-danger uk-padding" uk-alert>{lang jameson_read:zanwujilu}</div>
			{/if}
		</div>
	</div>
</div>
<!--[diy=diy2]--><div id="diy2" class="area"></div><!--[/diy]-->
<!--{subtemplate jameson_read:gjj/read_footer}-->